package chpt08;

import java.io.Serializable;
public class Person implements Serializable{
	private static final long serialVersionUID = 1L;
	int id;
	String name;
	String tel;
	Person(int id,String name, String tel){
		this.id = id;
		this.name = name;
		this.tel = tel;
	}
	int getId() {
		return id;
	}
	String getName() {
		return name;
	}
	String getTel() {
		return tel;
	}
	public String toString() {
		return id+":"+name+":"+tel;
	}
}
